package com.cskaoyan.javase.oop2._1extends._5protected._1aother;

import com.cskaoyan.javase.oop2._1extends._5protected._0one.CurrentClazz;

/**
 * 不同包下非子类
 * 是绝对不可能访问其他类中受保护的成员的
 *
 * @since 11:21
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class AnotherClazz {
    public static void main(String[] args) {
        CurrentClazz cc = new CurrentClazz();
        // 'a' has protected access in 'com.cskaoyan.javase.oop2._1extends._5protected._0one.CurrentClazz'
        // System.out.println(cc.a);
    }
}
